package com.zhai.domain.activity.service;

import com.zhai.domain.activity.model.entity.ActivityAccountEntity;
import com.zhai.domain.activity.model.entity.PartakeRaffleActivityEntity;
import com.zhai.domain.activity.model.entity.UserRaffleOrderEntity;

/**
 * @Description: 参与活动接口
 * @ClassName: IRaffleActivityPartakeService
 * @Author: zhaiyongxin
 * @Date: 2025/2/27 14:33
 * @Version: 1.0
 */
public interface IRaffleActivityPartakeService {
    /**
     * 创建抽奖单
     */
    UserRaffleOrderEntity createOrder(PartakeRaffleActivityEntity partakeRaffleActivityEntity);

    /**
     * 创建抽奖单
     */
    UserRaffleOrderEntity createOrder(String userId, Long activityId);

    /**
     * 根据用户id和活动id查询活动账户实体
     */
    ActivityAccountEntity queryActivityAccountEntity(String userId, Long activityId);
}
